import {
	http,
} from '@/utils/request.js';

export const getTeacherList = (data) => {
	return http({
		method: 'get',
		url: `/teacher/list`,
		data,
	});
};

/**
 * 添加学生课程记录
 * @param {*} data 
 * @returns 
 */
export const postRecordWithStu = (data) => {
	return http({
		method: 'post',
		url: `/teacher/postRecordWithStu`,
		data,
	});
};
/**
 * 根据课程id获得学生列表
 * @param {*} data 
 * @returns 
 */
export const getStuListByCourseId = (data) => {
	return http({
		method: 'get',
		url: `/teacher/getStuListByCourseId`,
		data,
	});
};



